package cn.tedu.spring.example;

import org.springframework.stereotype.Component;

/**
 * Component 注解:标识该类为spring的组建,spring framework会为该类创建对象
 */
@Component
public class User {
    public void run(){
        System.out.println("周六上班真好耶");
    }
}
